<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../../css/mui.min.css" rel="stylesheet" />
	</head>

	<body>
		<script src="../../js/mui.min.js"></script>
		<script type="text/javascript">
			mui.init()
		</script>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">标题</h1>
		</header>
		<div id="body" class="mui-content">
			<div id="abc" style="background-image:url(../../images/default-img.png);width: 300px;height: 200px;">
				

			</div>
			<button type="button" class="mui-btn mui-btn-blue mui-btn-block" onclick="btn()">按钮</button>
		</div>
		<script type="text/javascript">
			var div = document.createElement('div');
			div.id='qwe';
			div.style.backgroundImage='url(../../images/default-img.png)';
			document.getElementById('body').appendChild(div);
			function btn () {
				var abcImg = document.getElementById('abc').style.backgroundImage;
				console.log(abcImg);
				var asd = abcImg.split("(")[1].split(")")[0];
				console.log(asd);
			};
		</script>
	</body>

</html>